/**
 * 
 */
package it.unical.canonaco.rende.igpe.game.cbv.guilayer.sprites.key;


/**
 * @author Massimo Canonaco
 *
 */
public class TexturesSheetKey extends AbstractSheetKey 
{

	/** */
	static private final String textureStringID = "texture";
	
	/** */
	private String mapName;
	
	/* (non-Javadoc)
	 * @see it.unical.canonaco.rende.igpe.game.cbv.guilayer.sprites.key.AbstractSheetKey#getCopy()
	 */
	@Override
	public AbstractSheetKey getCopy() 
	{
		TexturesSheetKey tsk = new TexturesSheetKey();
		tsk.mapName = new String(mapName);
		return tsk;
	}

	/* (non-Javadoc)
	 * @see it.unical.canonaco.rende.igpe.game.cbv.guilayer.sprites.key.AbstractSheetKey#getKey()
	 */
	@Override
	public String getKey() 
	{
		return textureStringID+mapName;
	}

//	/**
//	 * @param textureID the textureID to set
//	 */
//	public void setTextureID(String mapName) 
//	{
//		this.mapName = mapName;
//	}

	/**
	 * @param mapName the mapName to set
	 */
	public void setMapName(String mapName) {
		this.mapName = mapName;
	}

	
}
